//
// Created by Alex on 2021/12/1.
//

#ifndef GEOMAP_GEOOBJECT_H
#define GEOMAP_GEOOBJECT_H
#include "LonLat.h"
#include "GeoStyle.h"
#include "GeoScale.h"
#include <QString>
#include <QVariant>

class GeoObject {
public:
    GeoObject();
    virtual void addPoint(LonLat) = 0;
    virtual void addProperties(QString key,QVariant value) = 0;
    virtual QVariant getPropertiesValue(QString key) = 0;
    virtual void setStyle(GeoStyle* style) = 0;
    virtual void getScale() = 0;
    //virtual ~GeoObject();
    double Xmin,Xmax,Ymin,Ymax;
    GeoScale mmRect;

};


#endif //GEOMAP_GEOOBJECT_H
